Skip to main content
POST
/
action
/
prospect_finder_find_and_rank_prospects
[PF1] Find & Rank Prospects
curl --request POST \
  --url https://api-lr.agent.ai/v1/action/prospect_finder_find_and_rank_prospects \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "search_query": "<string>",
  "output_variable_name": "prospect_finder_result",
  "num_results": "5",
  "seller_product": "<string>",
  "seller_icp": "<string>",
  "seller_website": "<string>",
  "exclusion_slugs": "<string>"
}
'
{
  "status": 123,
  "response": {}
}

Authorizations

Authorization
string
header
required

Bearer token from your account (https://agent.ai/user/integrations#api)

Body

application/json
search_query
string
required

Natural-language description of target prospects.

output_variable_name
string
default:prospect_finder_result
required
Pattern: ^[a-zA-Z][a-zA-Z0-9_]*$
num_results
string
default:5

5-20 results (default 5).

seller_product
string

Product/service description for ICP scoring.

seller_icp
string

ICP for scoring and ranking.

seller_website
string
exclusion_slugs
string

Comma-separated LinkedIn slugs to exclude.

Response

Successful response

status
integer<int32>

HTTP status code of the action response

response
object

Response data from the action